package com.bestcem.xm.award.service;

import com.bestcem.xm.award.service.dto.wx.WxAccessTokenResponse;

/**
 * @author xa.zhang <xa.zhang@idiaoyan.com>
 * @version v1.0
 * @date 2021/7/20 11:10
 * @desc 微信相关服务类
 */
public interface WxService {

    /**
     * 调用获取Access_Token接口，返回openId accessToken 等信息
     * @see WxAccessTokenResponse
     * @param code 微信code
     * @return 返回结果
     */
    WxAccessTokenResponse requestAccessToken(String code);

}
